//
//  LSZDownloadCell.m
//  JKFuYinProject
//
//  Created by 九酷 on 2017/10/18.
//  Copyright © 2017年 LC. All rights reserved.
//

#import "LSZDownloadCell.h"

@implementation LSZDownloadCell
-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.labelNumber = [[UILabel alloc]initWithFrame:CGRectMake(15, 25, 20, 12)];
        self.labelNumber.textColor = RGBColor(120, 120, 120);
        self.labelNumber.font = FONT_14;
        self.labelNumber.textAlignment = NSTextAlignmentCenter;
        [self addSubview:self.labelNumber];
        
        self.labelSong = [[UILabel alloc]initWithFrame:CGRectMake(CGRectGetMaxX(self.labelNumber.frame)+20, 14, ScreenWidth-115, 15)];
        self.labelSong.font = FONT_14;
        self.labelSong.textColor = RGBColor(51, 51, 51);
        [self addSubview:self.labelSong];
        
        self.labelAlbums = [[UILabel alloc]initWithFrame:CGRectMake(CGRectGetMaxX(self.labelNumber.frame)+20, CGRectGetMaxY(self.labelSong.frame)+8, ScreenWidth-115, 13)];
        self.labelAlbums.font = FONT_13;
        self.labelAlbums.textColor = RGBColor(120, 120, 120);
        [self addSubview:self.labelAlbums];
        
        self.butDeleting = [[UIButton alloc]initWithFrame:CGRectMake(ScreenWidth-60, 0, 60, 60)];
        [self addSubview:self.butDeleting];
        
        self.imageViewDeleting = [[UIImageView alloc]initWithFrame:CGRectMake(18, 16,30, 28)];
        self.imageViewDeleting.image =[UIImage imageNamed:@"我的_下载_删除"];
        [self.butDeleting addSubview:self.imageViewDeleting];
    }
    return self;
}
- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

@end
